package com.ketangpai.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 附件表
 * </p>
 *
 * @author ${author}
 * @since 2024-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("attachment")
@ApiModel(value="Attachment对象", description="附件表")
public class Attachment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;

    @ApiModelProperty(value = "文件名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "文件存储唯一名称")
    @TableField("obj_name")
    private String objName;

    @ApiModelProperty(value = "附件路径")
    @TableField("path")
    private String path;


}
